/*
 *  midpanel.h
 *  framework
 *
 *  Created by gerhard gubler on 22.11.09.
 *  Copyright 2009 md80.ch . All rights reserved.
 *
 */

#ifndef MIDPANEL_H
#define MIDPANEL_H
#include <Opengl/opengl.h>
#include "vscrtext.h"
#include "glfuncs.h"
#include "egt.h"
#include "n_gauges.h"
#include "epr.h"

struct datavalues
{
	float n1_L;
	float n1_R;
	float n2_L;
	float n2_R;
	float egt_L;
	float egt_R;
	
};

class midpanel
{
	glfuncs mfunc;
	epr eprL;
	epr eprR;
	egt egtL;
	egt egtR;
	n_gauges n1_L;
	n_gauges n1_R;
	n_gauges n2_L;
	n_gauges n2_R;

public:
	void init();
	void display();
	void seteprLval(float);
	void seteprRval(float);
	void setegtLval(float);
	void setegtRval(float);
	void setn1Lval(float);
	void setn1Rval(float);
	void setn2Lval(float);
	void setn2Rval(float);
};

#endif